<section>

<div class="well well-small">
    <h3>Add User</h3>
</div>

<?php if ($this->error): ?>
<p class="p">There were one or more issues with your submission. Please correct them as indicated below. </p>
<?php endif ?>

<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url(NULL,array('controller'=>'Usermanager', 'action' => 'procadduser')));
$form->setAttribute('method', 'post');
$form->setAttribute('class', 'Form');
echo $this->form()->openTag($form);
?>

<dl class="dl">
<dt class="dt"><?php echo $this->formLabel($form->get('name')); ?></dt>
<dd class="dd"><?php echo $this->formElement($form->get('name')); echo $this->formElementErrors($form->get('name')); ?></dd>
<dt class="dt"><?php echo $this->formLabel($form->get('email')); ?></dt>
<dd class="dd"><?php echo $this->formElement($form->get('email')); echo $this->formElementErrors($form->get('email')); ?></dd>
<dt class="dt"><?php echo $this->formLabel($form->get('password')); ?></dt>
<dd class="dd"><?php echo $this->formElement($form->get('password')); echo $this->formElementErrors($form->get('password')); ?></dd>
<dt class="dt"><?php echo $this->formLabel($form->get('confirm_password')); ?></dt> 
<dd class="dd"><?php echo $this->formElement($form->get('confirm_password')); echo $this->formElementErrors($form->get('confirm_password'));?></dd>
<dd class="dd"><?php echo $this->formElement($form->get('submit')); echo $this->formElementErrors($form->get('submit')); ?></dd>
</dl>
<?php echo $this->form()->closeTag() ?>
</section>
